package com.zxy.ider.ehome;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class MyReceiver extends BroadcastReceiver {
    public MyReceiver() {
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        String times = intent.getStringExtra("times");
        if (times.equals("one")){
            //这里放你要处理的代码
        }else if (times.equals("two")){
            //这里放你要处理的代码
        }else if (times.equals("three")){
            //这里放你要处理的代码
        }

    }
}
